/**
 *  @file: Backlight.h
 *  @author: nwz
 *  @brief: 
 *  @date: 2024年8月2日
 * 
 */

#pragma once
#include <basic_header.h>
namespace bsp {

/*
 *
 */
class Backlight {
private:
	uint8_t backlight;
	void startPwm();

public:
	Backlight();
	virtual ~Backlight();
	int init(uint8_t bg);

	void setBacklight(uint8_t brightness);

	uint8_t getBacklight() {
		return backlight;
	}
};

} /* namespace bsp */
